package com.ildepinc.persistence.abstracts;

import java.util.Properties;

import com.ildepinc.persistence.interfaces.PropertiesReaderBehaviour;

public abstract class PropertiesReaderBase implements PropertiesReaderBehaviour {
  private String path;
  private String env;
  private String name;
  private Properties properties;

  @Override
  public String getEnv() {
    return this.env;
  }

  @Override
  public String getName() {
    return this.name;
  }

  @Override
  public String getPath() {
    return this.path;
  }

  @Override
  public Properties getProperties() {
    return this.properties;
  }

  @Override
  public void setEnv(String env) {
    this.env = env;
  }

  @Override
  public void setName(String name) {
    this.name = name;
  }

  @Override
  public void setPath(String path) {
    this.path = path;
  }

  @Override
  public void setProperties(Properties properties) {
    this.properties = properties;
  }

  protected void clear() {
    this.path = null;
    this.env = null;
    this.name = null;
    this.properties = null;
  }
}
